//package gentle.Scheduler;
//
//import com.alibaba.fastjson.JSONObject;
//import gentle.base.SqlMapper;
//import gentle.base.StringUtil;
//import gentle.entity.ExtenAccountInfo;
//import gentle.entity.ReservationsCallInInfo;
//import gentle.mapper.ReservationsDao;
//import gentle.service.IOnlineConsultationService;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//import redis.clients.jedis.Jedis;
//
//import java.io.BufferedReader;
//import java.io.InputStreamReader;
//import java.net.URL;
//import java.net.URLConnection;
//import java.util.HashMap;
//import java.util.Map;
//
///**
// * 定时任务实现方式3  -- 简版 （ 此类单独执行一个任务 ）
// * @author silence
// * @date 2018/7/31 16:03
// */
//
//@Component // 注册为一个bean
//@EnableScheduling // 开启定时器
//public class Sender {
//    @Autowired
//    private IOnlineConsultationService onlineConsultationService;
//
//    private final org.slf4j.Logger logger = LoggerFactory.getLogger(this.getClass());
//
//   @Scheduled(fixedDelay = 1000*60*30) // 每 2s 执行1次。
////    @Scheduled(fixedDelay = 300000)
//    public void send() {
//      // onlineConsultationService.hr();
//    }
//}
